package com.dreamchaser.dream.common.pojo;

/**
 * 用来存储用户间的关系，如关注和粉丝(community_relation)
 * 
 * @author bianj
 * @version 1.0.0 2020-10-29
 */
public class CommunityRelation {
    /** 版本号 */
    private static final long serialVersionUID = 4083760872404743384L;

    /** 圈子关系id */
    private Integer id;

    /** 关系拥有者id */
    private Integer userId;

    /** 社团id */
    private Integer community;


    /**
     * 获取圈子关系id
     * 
     * @return 圈子关系id
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置圈子关系id
     * 
     * @param id
     *          圈子关系id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取关系拥有者id
     * 
     * @return 关系拥有者id
     */
    public Integer getUserId() {
        return this.userId;
    }

    /**
     * 设置关系拥有者id
     * 
     * @param userId
     *          关系拥有者id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取社团id
     * 
     * @return 社团id
     */
    public Integer getCommunity() {
        return this.community;
    }

    /**
     * 设置社团id
     * 
     * @param community
     *          社团id
     */
    public void setCommunity(Integer community) {
        this.community = community;
    }

}